package com.example.pingxue.entity;

import jakarta.persistence.Column;
import jakarta.persistence.MappedSuperclass;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@MappedSuperclass
public class LogicEntity extends BaseEntity {
    @Column(insertable = false)
    protected Date deleteTime;

    @Column(insertable = false, nullable = false, columnDefinition = "INT default 0")
    protected Boolean isDeleted;
}
